package com.natalia.excel.response;

import lombok.Getter;

/**
 * @Author yang
 **/
@Getter
public enum ResultCode implements StatusCode{

    /**
     * 请求成功
     */
    SUCCESS(0, "请求成功"),

    /**
     * 请求失败
     */
    FAILED(1, "请求失败");
    private int code;
    private String msg;

    ResultCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
